<?php

namespace App\model\agent;

use Illuminate\Database\Eloquent\Model;

/**
 * App\model\agent\agentCounse
 *
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\agent\agentCounse newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\agent\agentCounse newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\agent\agentCounse query()
 * @mixin \Eloquent
 * @property int $id
 * @property string|null $name
 * @property string|null $mobile
 * @property int|null $quyu_id
 * @property int|null $area_id
 * @property int|null $sex
 * @property \Illuminate\Support\Carbon $created_at
 * @property \Illuminate\Support\Carbon $updated_at
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\agent\AgentCounse whereAreaId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\agent\AgentCounse whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\agent\AgentCounse whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\agent\AgentCounse whereMobile($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\agent\AgentCounse whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\agent\AgentCounse whereQuyuId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\agent\AgentCounse whereSex($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\agent\AgentCounse whereUpdatedAt($value)
 * @property int|null $type
 * @method static \Illuminate\Database\Eloquent\Builder|\App\model\agent\AgentCounse whereType($value)
 */
class AgentCounse extends Model
{
    protected $table='agent_counsel';
    const MAN=0;
    const WOMAN=1;
    public static $SexMap=[
        self::MAN=>'男',
        self::WOMAN=>'女'
    ];
}
